<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<ul>
		<%-- 	<c:forEach items="${books}" var="b"> --%>
		<c:forEach items="${sessionScope.books}" var="b">
			<li style="list-style: none;"><p>
					<span>${b.name}</span> <span>${b.price}</span> <span>${b.auth}</span>
					<a href="del?name=${b.name }" style="text-decoration: none;">删除</a >
					<a href="up?name=${b.name }&price=${b.price}&auth=${b.auth} " style="text-decoration: none;">修改</a>
				</p>
			</li>
		</c:forEach>
	</ul>
	<a href="add">添加</a>
</body>
</html>